<!DOCTYPE html>
<html>
<head>
  <title>App Engine Drive API Sample</title>
  <meta charset="utf-8" />
  <style type="text/css" media="screen">
    body {
      padding: 2em;
      width: 800px;
      font-family: helvetica, arial, sans-serif;
    }
    code {
      color: green;
    }
  </style>
</head>
<body>
  <h1>App Engine Drive API Sample Instructions</h1>
   <div>
  <p>
    A starter application has been generated for you.
  </p>
  <ol>
    <li>Install <a href="http://www.python.org">Python 2</a>.</li>
    <li>Install the <a href="https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python">Google App Engine SDK for Python</a>.</li>
    <li><a href='https://developers.google.com/qs/c/gen?api=drive&amp;apikey=&amp;client_secret_url=https%3A%2F%2Fcode.google.com%2Fapis%2Fquick%2Fb%2F0%2Fclient-secrets%3Fproject%3D274988601977%26client%3D274988601977-r6qis3f81ldr5mhbtq37jndac7ncd39t.apps.googleusercontent.com%26xsrf%3DAL254vQWz-2hYjamurjDLouxtuSYMnzNJw%3A1398623504470&amp;key=j6OmSuRBV0Y9QqNVqn2T3UMJx4I6MTM5ODYyMzQ4Mzg1ODkzOTU3NA%3D%3D&amp;lang_plat=python_appengine_skeleton&amp;project=274988601977&amp;version=v2'>Download the starter application</a> and unzip it.
      It will unzip into a directory called
      <code>drive-appengine-sample</code>.</li>

      <li><a href='https://code.google.com/apis/quick/b/0/client-secrets?project=274988601977&amp;client=274988601977-r6qis3f81ldr5mhbtq37jndac7ncd39t.apps.googleusercontent.com&amp;xsrf=AL254vQWz-2hYjamurjDLouxtuSYMnzNJw:1398623504470'>Download the client secrets file</a>
      and overwrite the <code>client_secrets.json</code> file that was included
      in the application. <em>The <code>client_secrets.json</code> file
        contains your applications client id and client secret and should be
        stored securely.</em></li>

    <li>
      <p>You can run your starter application
      using the <a target=_blank
      href='http://code.google.com/appengine/docs/python/tools/devserver.html'>
      Google App Engine Development Server</a> which is included
      in the Google App Engine SDK for Python. You can launch the application
      using the <a href="https://developers.google.com/appengine/docs/python/gettingstartedpython27/devenvironment">
      Google App Engine Launcher</a> or, if you're not using Google App Engine Launcher, start the web server with
      the following command, giving it the path to the <code>drive-appengine-sample</code> directory:
      </p>

    <pre><code>google_appengine/dev_appserver.py drive-appengine-sample</code></pre>
    </li>
    <li>Visit <a target=_blank href="http://localhost:8080">http://localhost:8080</a> to see
    your application running.</li>
  </ol>
  <p>Congratulations, you are up and running! At this point you will want to add
  calls into the Drive API to the <code>main.py</code> file. Please read the
  <code>main.py</code> file carefully, it contains detailed information in
  the comments.  For more information on the Drive API Python library
  surface you can visit: </p>

  <blockquote>
    <p>
    <a target=_blank
     href='https://google-api-client-libraries.appspot.com/documentation/drive/v2/python/latest/'>
     https://google-api-client-libraries.appspot.com/documentation/drive/v2/python/latest/</a>
    </p>
  </blockquote>

  <p>
  The Drive API has been turned on in the Cloud Console. You can see and adjust the OAuth 2.0 project
  settings by visiting:
  </p>

  <blockquote>
    <a href="https://cloud.google.com/console#/project/274988601977/apiui">
      https://cloud.google.com/console#/project/274988601977/apiui</a>
  </blockquote>


  <p>
  Also check out the <a target=_blank
    href='https://developers.google.com/api-client-library/python/start/get_started'>
    Python Client Library documentation</a>, and get more information on the Drive API at:
  </p>

  <blockquote>
    <p>
    <a target=_blank href='https://developers.google.com/drive/'>https://developers.google.com/drive/</a>
    </p>
  </blockquote>
</div>

</body>
</html>
